var util = require('../../libs/util.js');
var bdParse = require('../../bdParse/bdParse.js');
Page({
    data: {
        company: {},
        desc: '',
        imageHeight: 0
    },
    onLoad: function() {
        swan.showNavigationBarLoading();
        var appInstance = getApp();
        this.setData({company: appInstance.globalData.site});
        bdParse.bdParse('desc', 'html', appInstance.globalData.site.desc, this, 5);
    },
    onReady: function() {
        swan.hideNavigationBarLoading();
        swan.setNavigationBarTitle({title: '公司简介'});
    }
})